package io.renren.modules.sys.dao;

import io.renren.modules.sys.entity.InterrogationuserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.sys.entity.InterrogationuserVOEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户问诊表
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-11-11 17:27:53
 */
@Mapper
public interface InterrogationuserDao extends BaseMapper<InterrogationuserEntity> {
    List<InterrogationuserVOEntity> querylistByParams(@Param("username") String username, @Param("doctorname")String doctorname
            , @Param("currPage")int currPage, @Param("pageSize")int pageSize);

    int queryListcount(@Param("username")String username, @Param("doctorname")String doctorname);
}
